/*----------------Copyright(C) 2011 Shenyang MansionTech software Co.,Ltd. ALL RIGHTS RESERVED-------------------------
/*********************************************************************************************************************
*	FILE NAME	: tail.h
*	CREATE DATE	: 2011-04-14
*	MODULE		: UI
*	AUTHOR		: sunhm
*--------------------------------------------------------------------------------------------------------------------*
*	MEMO		:
*********************************************************************************************************************/
#ifndef TAIL_H
#define TAIL_H
#include "lw_include.h"

#define TAIL_KLASS(_klass_)	((tail_klass_info*)_klass_)
#define TAIL(_object_)	((tail*)_object_)

typedef struct _tail_klass_info tail_klass_info;
extern tail_klass_info* tail_klass;

typedef struct _tail tail;
struct _tail
{
/*base*/
	klass_info* klass;

/*private data*/
	BOOL can_move;
};

struct _tail_klass_info
{
/*base*/
	klass_info base;

/*virtual function*/

};

void tail_init(void);
BOOL tail_can_move(tail* self);
void tail_set_move(tail* self, BOOL can_move);
#endif /*TAIL_H*/
/*************************************************end****************************************************************/

